package com.sanjiahantang.youjiaclient.module.common.views;

import android.support.annotation.Nullable;

import com.sanjiahantang.plugin.swipemenulistview.SwipeMenuCreator;
import com.sanjiahantang.plugin.swipemenulistview.SwipeMenuListView;
import com.sanjiahantang.youjiaclient.base.BaseView;


/**
 * Created by zy on 2017/9/5.
 */

public interface ShoppingCartView extends BaseView {
    String KEY_GOODS_ID = "mgsciId";
    String KEY_NUMBER = "number";

    void switchLayout();

    void hideNetError();

    void initMListView(SwipeMenuCreator creator, SwipeMenuListView.OnMenuItemClickListener onMenuItemClickListener);

    void checkButton(@Nullable Boolean selectAll, @Nullable Boolean deleteAll);

    void setPrice(String totalPrice, int totalNumber);

    void hideCart();

    void showCart();

    void showEmptyCart();

    void showToLoginLayout();
}
